<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="author" content="广州依旧电子商务有限公司--http://www.19DZ.com" />
		<title>登录</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/idangerous.swiper.css" />
	</head>

	<body style="background-color: #fff;">
		<!--头部-->
		<include file="Public:header" />
		<!--头部  End-->
		<div class="login-body">
			<div class="login-content">
				<div class="login-title">用户登录</div>
				<div class="login-main">
					<form method='post' id="form_do" name="form_do" action="{:U(MODULE_NAME. '/Public/login')}">
					<div class="login-main-text">
						<img src="__PUBLIC__/img/user.png">
						<input type="text" id="loginUser" name="email" placeholder="请输入邮箱账号">
					</div>
					<div class="login-main-alert" id="loginUser-alert"></div>

					<div class="login-main-text">
						<img src="__PUBLIC__/img/password.png">
						<input type="password" name="password" id="loginPassword" placeholder="请输入密码">
					</div>
					<div class="login-main-alert" id="loginPassword-alert"></div>

					<if condition="C('CFG_VERIFY_LOGIN') eq 1">
					<div class="login-main-text1">
						<input type="text" name="vcode" id="loginPiccode" placeholder="请输入图片验证码">
						<img src="<yang:vcodeurl />" id="VCode" onclick="javascript:changeVcode(this);" />
					</div>
					</if>
					<div class="login-main-alert" id="loginPiccode-alert"></div>

					<button>登录</button>
					</form>
				</div>
			</div>
		</div>
		

		<!--尾部-->
		<include file="Public:footer" />
		<!--尾部   End-->

		<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/idangerous.swiper.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/myjs.js"></script>
	</body>

</html>

<script type="text/javascript">
function changeVcode(obj){
	$("#VCode").attr("src",'<yang:vcodeurl />'+ '#'+Math.random());
	return false;
}
</script>